import type { App, Component } from 'vue';
import svgIcon from './svg-icon.vue';
import searchCard from './search-card.vue';
let components: Record<string, Component> = { svgIcon, searchCard };
// 全局组件注册器
let globalComponentRegister = {
	install(app: App) {
		Object.keys(components).forEach((key) => {
			app.component(key, components[key]);
		});
	},
};
export default globalComponentRegister;
